From 65f831f835bca4c75273a4a2e6b833f62196b349 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 13:45:21 +0000 Subject: Make tuples GC objects --- ...dlang.compiler.testing.snapshots.Snapshotter)].expected | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 81ffb23a..2ae12c42 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -14,26 +14,26 @@ Instructions: (local-store (local "tupleElement__2__0") (local "d")) (local-store (local "tupleElement__1__0") (local "c")) (local-store (local "tupleElement__0__0") (local "b")) - (alloc-heap (local "tuplePointer__0") (struct (int int int))) + (alloc-heap (local "tuplePointer__0") (struct (data-ptr (struct (int int int))))) ( memory-store pointer=(local "tuplePointer__0") - layout=(struct (int int int)) - offset=(0) + layout=(struct (data-ptr (struct (int int int)))) + offset=(1 0) value=(local "tupleElement__0__0") ) ( memory-store pointer=(local "tuplePointer__0") - layout=(struct (int int int)) - offset=(1) + layout=(struct (data-ptr (struct (int int int)))) + offset=(1 1) value=(local "tupleElement__1__0") ) ( memory-store pointer=(local "tuplePointer__0") - layout=(struct (int int int)) - offset=(2) + layout=(struct (data-ptr (struct (int int int)))) + offset=(1 2) value=(local "tupleElement__2__0") ) (data-ptr-to-int (local "tuple__0") (local "tuplePointer__0")) -- cgit v1.2.3